home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / FrogIT.swf / scripts / DefineButton2_175 / BUTTONCONDACTION on(keyPress Up).as
Encoding:
Text File  |  2006-06-13  |  340 b   |  14 lines

  1. on(keyPress "<Up>"){
  2.    set("../score:score",eval("/score:score") + "10");
  3.    setProperty("/frosch", _Y, getProperty("/frosch", _Y) - "17");
  4.    x_value = getProperty("/frosch", _X);
  5.    y_value = getProperty("/frosch", _Y);
  6.    nextFrame();
  7.    tellTarget("/frosch")
  8.    {
  9.       gotoAndStop("vor");
  10.       play();
  11.    }
  12.    play();
  13. }
  14.